<template>
  <el-container>
    <SideMenu />
    <el-container direction="vertical">
      <TopHeader />
      <el-main>
        <router-view :key="$route.fullPath"></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script setup>
import SideMenu from "@/components/mainBox/SideMenu.vue";
import TopHeader from "@/components/mainBox/TopHeader.vue";
</script>
<style lang="scss" scoped>
.el-main {
  height: calc(100vh - 60px);
  overflow: auto;
}
</style>